﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Data.AID;

namespace Business.AID
{
    public class ColaboradorBO
    {
        public List<Colaborador> GettAllEmployees()
        {
            ColaboradorDAO colaboradorDAO = new ColaboradorDAO();
            return colaboradorDAO.GettAllEmployees();
        }
        public Colaborador GetEmployeeByLogin(string loginName)
        {
            ColaboradorDAO colaboradorDAO = new ColaboradorDAO();
            return colaboradorDAO.GetEmployeeByLogin(loginName);
        }
        public Colaborador GetEmployeeByRegistration(string registration)
        {
            ColaboradorDAO colaboradorDAO = new ColaboradorDAO();
            return colaboradorDAO.GetEmployeeByRegistration(registration);
        }
        public Colaborador GetEmployeeById(int id)
        {
            ColaboradorDAO colaboradorDAO = new ColaboradorDAO();
            return colaboradorDAO.GetEmployeeById(id);
        }
        public Colaborador GetEmployeeByName(string name)
        {
            ColaboradorDAO colaboradorDAO = new ColaboradorDAO();
            return colaboradorDAO.GetEmployeeByName(name);
        }
    }
}
